package model;

import com.jfinal.plugin.activerecord.Model;
/**
 * 大气数据类
 */
public class Weather extends Model<Weather> {

	public int SiteID;
	public Double SO2;
	public Double O3;
	public Double CO;
	public Double NO2;
	public Double PM25;
	public Double PM10;
	public Double Temper;// 温度
	public Double Hum;// 湿度
	public Double Speed;// 风速
	public Double Press;// 压强
	public Double Rainfall;//雨量
	public String Direct;// 风向

	public static final Weather dao = new Weather();
	
	public int getSiteID() {
		return SiteID;
	}

	public void setSiteID(int siteID) {
		SiteID = siteID;
	}

	public static Weather getDao() {
		return dao;
	}
	
	public Double getSO2() {
		return SO2;
	}

	public void setSO2(Double sO2) {
		SO2 = sO2;
	}

	public Double getO3() {
		return O3;
	}

	public void setO3(Double o3) {
		O3 = o3;
	}

	public Double getCO() {
		return CO;
	}

	public void setCO(Double cO) {
		CO = cO;
	}

	public Double getNO2() {
		return NO2;
	}

	public void setNO2(Double nO2) {
		NO2 = nO2;
	}

	public Double getPM25() {
		return PM25;
	}

	public void setPM25(Double pM25) {
		PM25 = pM25;
	}

	public Double getPM10() {
		return PM10;
	}

	public void setPM10(Double pM10) {
		PM10 = pM10;
	}

	public Double getTemper() {
		return Temper;
	}

	public void setTemper(Double temper) {
		Temper = temper;
	}

	public Double getHum() {
		return Hum;
	}

	public void setHum(Double hum) {
		Hum = hum;
	}

	public Double getSpeed() {
		return Speed;
	}

	public void setSpeed(Double speed) {
		Speed = speed;
	}

	public Double getPress() {
		return Press;
	}

	public void setPress(Double press) {
		Press = press;
	}

	public String getDirect() {
		return Direct;
	}

	public void setDirect(String direct) {
		Direct = direct;
	}

	public Double getRainfall() {
		return Rainfall;
	}

	public void setRainfall(Double rainfall) {
		Rainfall = rainfall;
	}

	@Override
	public String toString() {
		return "Weather [SiteID="+ SiteID + ", SO2="+ SO2 + ", O3=" + O3 + ", CO=" + CO + ", NO2=" + NO2 + ", PM25=" + PM25 + ", PM10="
				+ PM10 + ", Temper=" + Temper + ", Hum=" + Hum + ", Speed=" + Speed + ", Press=" + Press + ", Rainfall="
				+ Rainfall + ", Direct=" + Direct + "]";
	}


}
